StoreKeeper\WooCommerce\B2C\PaymentGateway\PaymentGateway A

Total Complexity 54
Dependencies 14
Dependents 4
Total lines 577
Lines of code 359
Logical lines of code 148
Comment lines 113
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
createWooCommerceRefund()
S
53 5 23
addGatewayClasses()
S
46 4 38
checkPayment()
S
58 4 15
onReturn()
S
50 3 26
storekeeperOrderHasRefundWithReturnPayment()
S
67 4 7
registerCheckoutFlash()
S
65 4 8
createStoreKeeperRefundPayment()
S
61 3 12
refundExists()
S
57 2 17
isPaymentSynced()
S
58 2 16
getPaymentAmount()
S
58 2 16
getPaymentId()
S
58 2 16
getOrderReturnUrl()
S
67 3 7
updatePayment()
S
58 1 18
addRefund()
S
58 1 18
updateRefund()
S
58 1 18
addPayment()
S
59 1 16
querySql()
S
68 2 7
getUnsyncedRefundsPaymentIds()
S
63 1 12
getUnsyncedRefundsWithoutPaymentIds()
S
63 1 12
markRefundAsSynced()
S
62 1 12
createRefundAsPayment()
S
62 1 11
hasPayment()
S
79 1 3
getReturnUrl()
S
65 1 10
displayFlashError()
S
71 1 5
displayFlashCanceled()
S
78 1 3
markPaymentAsSynced()
S
64 1 10
hasUnsyncedRefunds()
S
79 1 3